package com.jhhc.RHDB.Data.Service;

import java.util.List;


import com.jhhc.RHDB.Data.Pojo.ST_RSVR_R;
import org.apache.ibatis.annotations.Param;


public interface ST_RSVR_R5Service extends BaseService<ST_RSVR_R> {
    List<ST_RSVR_R> selectByStationArrys(List<String> Stations, String startTime, String endTime);

    List<ST_RSVR_R> selectRSVRNewEstData(@Param("stcd") List<String>  stcd);

    //最新一条加日期条件
    ST_RSVR_R selectByTmNewEstData(@Param("stcd") String stcd, @Param("tm") String tm);

    List<ST_RSVR_R> selectBytime(@Param("stcd") String stcd, @Param("startTime") String startTime,
                                 @Param("endTime") String endTime);

    //第一条
    ST_RSVR_R selectStartDate(@Param("stcd") String stcd);
    //最后一条
    ST_RSVR_R selectEndDate(@Param("stcd") String stcd);

    //合溪水库入库
    int insertHxReservoirData(@Param("list") List<ST_RSVR_R> list);
}
